<div class="modal fade in ip-box large-model" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static" aria-hidden="true" id="add">
	<div class="modal-dialog " role="document" >
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
				<h4 class="modal-title" id="myModalLabel">新增入库</h4>
			</div>
			<div class="col-xs-12 line-main clearfix">
				<div class="line">
					<div class="line-del">
						<div class="line-del-left">1<p>导入数据</p></div>
						<div class="line-del-center" ng-class="{true:'active'}[storagesh]">2<p>存储数据</p></div>
						<div class="line-del-right" ng-class="{true:'active'}[storagethree]">3<p>完成导入</p></div>
						<div class="line-line animate-time" ng-class="{ 2:'active', 3:'act'}[storagetime]"></div>
					</div>
				</div>
				
			</div>
			<div class="line-public"></div>
			<div class="modal-body storage-add-body">
				<div ng-class="{true:'hide',false:'show'}[storagesh]">
					<div class="search-group clearfix storage-add">
						<div class="col-sm-12">
							<div class="form-group pull-left form-span col-sm-3">
			                        <span class="pull-left form-span">资源类型：</span>
			                        <select type="date" class="pull-left fill" 
			                           ng-options="obj.id as obj.name for obj in resTypeList"
			                           ng-model="resourcetypes"
			                           ng-change="getSelectId()">
			                        	<option  value="" >请选择</option>
			                        </select>
			                </div>
			                <div class="form-group pull-left form-span col-sm-3">
			                        <span class="pull-left form-span">导入格式：</span>
			                        <select type="date" class="pull-left fill" ng-options="obj.id as obj.name for obj in importList"  ng-model="importtypes">
			                        	<option  value="" >请选择</option>
										
			                        </select>
			                </div>
			                <div class="form-group pull-left form-span col-sm-6 last">
			                        <span class="pull-left form-span">源数据文件路径：</span>
			                        <input type="text" class="form-control input-url"  placeholder="如：E:\BaiduNetdiskDownload\source\XmlData" ng-model="resourceFileUrl">
			                        <button type="button" class="btn btn-primary pull-right" ng-click="fnImport(resourcetypes)" >导入临时数据</button>
			                </div>
			            </div>
			            <div class="col-sm-12">
			                	<div class="form-group pull-left form-span col-sm-4">
				                    <span class="pull-left form-span">开始年月：</span>
			 						<input type="date" class="pull-left form-control fill">
				                </div>
				                <div class="form-group pull-left form-span col-sm-4">
				                    <span class="pull-left form-span">至 结束年月：</span>
			 						<input type="date" class="pull-left form-control fillt last-time">
				              </div
								<div class="pull-right ">
									<div class="input-group pull-right col-sm-4">
				                        <input type="text" class="form-control search-input" placeholder="请输入需要检索的内容" ng-model="storage_addsearch">
				                        <span class="input-group-addon search-btn">
				                        	<img src="../images/right-product/search.png">检索
				                        </span>
			                    	</div>  
								</div>
						
						
					</div>
					<!-- 表格内容 BEGIN -->
	                 <div id="magazine" class="table-margin" style="display:none">
	                	<div class="table-header">
	                    	<table class="table table-bordered table-header">
	                    		<thead>
	                                    <tr>
	                                        <td class="w5 text-center">Number</td>
	                                        <td class="w10 text-center">IsMain</td>
	                                        <td class="w10 text-center">Publish</td>
	                                        <td class="w15 text-center">Name</td>
	                                        <td class="w15 text-center">Year</td>
	                                        <td class="w15 text-center">Month</td>
	                                        <td class="w15 text-center">IsDouble</td>
	                                        <td class="w15 text-center">Issue</td>
	                                        <td class="w15 text-center">Xml</td>
	                                        <td class="w15 text-center">FlipbookFirst</td>
	                                        <td class="w15 text-center">FlipbookSecond</td>
	                                        <td class="w15 text-center">Kindle</td>
	                                    </tr>
	                                </thead>
	                		
	                		</table>
	                	</div>
	                	<div class="table-body">
	                        <table class="table table-bordered table-header overflow-table">
	                            
	                            <tbody class="no-border">
	                                <tr ng-repeat="val in storagedate |orderBy:b+a | filter:storage_addsearch" ng-class="{'active':$index%2!=0}">
	                                    <td class="w5 text-center" ng-cloak>{{ $index+1 }}</td>
	                                    <td class="w10 text-center" ng-bind="val.storageName"></td>
	                                    <td class="w10 text-center" ng-bind="val.storageType"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageFormat"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageSource"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageInput"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageFictitious"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                </tr>
	                                <tr>
	                                    <td colspan="12" class="text-center" ng-hide="isNoData">服务器已断开</td>
	                                </tr>
	                            </tbody>
	                        </table>
	                    </div>    
	                </div>
	                <!-- 表格内容 END --> 
	                
	                
	                <!-- 表格内容 BEGIN -->
	                 <div  id="resource" class="table-margin" style="display:none;">
	                	<div class="table-header">
	                    	<table class="table table-bordered table-header">
	                    		<thead>
	                                    <tr>
	                                        <td class="w5 text-center">xxxx</td>
	                                        <td class="w10 text-center">xxxx</td>
	                                        <td class="w10 text-center">aaa</td>
	                                        <td class="w15 text-center">bbb</td>
	                                        <td class="w15 text-center">ccc</td>
	                                        <td class="w15 text-center">dddd</td>
	                                        <td class="w15 text-center">eeee</td>
	                                        <td class="w15 text-center">ffff</td>
	                                        <td class="w15 text-center">ffff</td>
	                                        <td class="w15 text-center">jjjjj</td>
	                                        <td class="w15 text-center">ppppp</td>
	                                        <td class="w15 text-center">Kindle</td>
	                                    </tr>
	                                </thead>
	                		
	                		</table>
	                	</div>
	                	<div class="table-body">
	                        <table class="table table-bordered table-header overflow-table">
	                            
	                            <tbody class="no-border">
	                                <tr ng-repeat="val in storagedate |orderBy:b+a | filter:storage_addsearch" ng-class="{'active':$index%2!=0}">
	                                    <td class="w5 text-center" ng-cloak>{{ $index+1 }}</td>
	                                    <td class="w10 text-center" ng-bind="val.storageName"></td>
	                                    <td class="w10 text-center" ng-bind="val.storageType"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageFormat"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageSource"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageInput"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageFictitious"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                    <td class="w15 text-center" ng-bind="val.storageScreenshot"></td>
	                                </tr>
	                                <tr>
	                                    <td colspan="12" class="text-center" ng-hide="isNoData">服务器已断开</td>
	                                </tr>
	                            </tbody>
	                        </table>
	                    </div>    
	                </div>
	                <!-- 表格内容 END --> 
	                
	                
	                
	           </div>    
	         <div class="storage-add-two" ng-class="{true:'show',false:'hide'}[storagesh]">
	            	<div class="form-group">
		            	<div class=" pull-left col-sm-2">
	                        <span class="pull-right form-span ">录入源对象文件路径：</span>
				        </div>
				        <div class=" pull-left  col-sm-10">
				        	 <input type="file" class="form-control input-url">
				        </div>
			        </div>	
			        <div class="form-group">
		            	<div class=" pull-left col-sm-2">
	                        <span class="pull-right form-span ">对象文件存储路径：</span>
				        </div>
				        <div class="pull-left  col-sm-10">
				        	 <input type="file" class="form-control input-url ">
				        </div>
			        </div>
			        <div class="form-group">
		            	<div class=" pull-left col-sm-2">
	                        <span class="pull-right form-span ">虚拟目录：</span>
				        </div>
				        <div class="pull-left  col-sm-5">
				        	 <input type="text" class="form-control input-url ">
				        </div>
			        </div>
			        <div class="form-group">
		            	<div class=" pull-left col-sm-2">
	                        <span class="pull-right form-span ">资源截图格式：</span>
				        </div>
				        <div class="pull-left  col-sm-5">
				        	 <input type="text" class="form-control input-url ">
				        </div>
			        </div>
	            	<div class="importing">
	            		<div class="form-group">
		            		<div class="col-sm-2">
		            			<span class="pull-right form-span ">正在导入：</span>
		            		</div>
		            		<div class="col-sm-10">
		            			<div class="importing-line">
		            				<div class="importing-line-text">{{progress+'%'}}</div>
		            				<div class="importing-line-load animate-time" ng-style="{width:progress+'%'}"></div>
		            			</div>
		            		</div>
		            	</div>	
		            	<div class="form-group ">
		            		<div class="col-sm-2">
		            			<span class="pull-right form-span ">应导数：</span>
		            		</div>
		            		<div class="col-sm-10">
		            			<input class="pull-left form-control input-100">
		            			<span class="pull-left form-span ">实导数：</span>
		            			<input class="pull-left form-control input-100">
		            			<span class="pull-left form-span ">导入失败数：</span>
		            			<input class="pull-left form-control input-100">
		            			<button class="pull-right btn btn-primary" ng-click="storage()">预览明细</button>
		            		</div>
		            	</div>	
	            	</div>
	            </div>	
			</div>   
			<div class="line-public"></div>
			<div class="storage-add-footer" ng-class="{true:'hide',false:'show'}[storagesh]">
				<div class="btns-group">
					<button type="button" class="btn  btn-3a5f72" ng-click="storagenext()">下一步</button>
					<button type="button" class="btn  btn-fff" >清理并取消数据</button>
				</div>
			</div>
			<div class="storage-add-footer" ng-class="{true:'show',false:'hide'}[storagesh]">
				<div class="btns-group">
					<button type="button" class="btn  btn-3a5f72" ng-disabled="storagetime != 3" data-dismiss="modal" aria-hidden="true">完成导入</button>
					<button type="button" class="btn  btn-fff" ng-disabled="storagetime != 3" ng-click="storagestep()">返回上一步</button>
				</div>
			</div>
		</div>	
	</div>
</div>

